package com.letoken.platform.app.service;


import cn.hutool.extra.spring.SpringUtil;
import com.letoken.platform.pub.constant.ConstantsValue;
import com.letoken.platform.pub.enums.LetokenTokenTypeEnum;
import com.letoken.platform.pub.res.ApiResponse;
import com.letoken.platform.pub.util.LocalDateTool;
import com.letoken.platform.repo.app.dao.AppBalanceHistoryMapper;
import com.letoken.platform.repo.app.dao.AppBalanceWalletMapper;
import com.letoken.platform.repo.app.dao.AppUserWalletMapper;
import com.letoken.platform.repo.app.req.user.BalanceTransferReq;
import com.letoken.platform.repo.app.res.user.AppBalanceRes;
import com.letoken.platform.repo.mall.po.AppBalanceWallet;
import com.letoken.platform.repo.utlis.WebUtils;
import com.letoken.platform.repo.utlis.lock.Lock;
import com.letoken.platform.repo.utlis.lock.LockCategoryEnum;
import org.apache.commons.lang3.ObjectUtils;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public interface AppBalanceService {


    AppBalanceRes createRecord();


    void transferIn(BalanceTransferReq req);

    void transferOut(BalanceTransferReq req);


}
